package com.quanquan.store.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 功能描述:每日报表
 *
 * @ClassName: DailyReport
 * @Author: xiaoqianh丶
 * @Date: 2019-06-28 17:22
 * @Version: V1.0
 */
@Data
@Entity
@Table(name = "oo_daily_report")
public class DailyReport {

    @Id
    @Column(name = "id", unique = true, length = 64)
    private String id;
    
    @Column(name = "user_id", length = 64)
    private String userId;


    /**
     *每日交易笔数
     **/
    @Column(name = "trading_num",columnDefinition = "INT default 0")
    private Integer tradingNum;

    /**
     * 每日交易总金额
     */
    @Column(name = "trading_total_num",columnDefinition = "Double defaut 0.0")
    private Double tradingTotalNum;

    /**
     * 每日微信交易笔数
     */
    @Column(name = "wechat_trading_num",columnDefinition = "INT default 0")
    private Integer weChatTradingNum;
    
    /**
     * 每日支付宝交易笔数
     **/
    @Column(name = "alipay_trading_num",length = 32)
    private String aliPayTradingNum;

    /**
     * 每日银行卡支付笔数
     */
    @Column(name = "bank_trading_num",length = 32)
    private String bankTradingNum;

    /**
     * 每日其他支付笔数
     */
    @Column(name = "other_trading_num",length = 32)
    private String otherTradingNUm;
    
    
    /**
     * 活动创建时间
     */
    @Column(name = "create_time", nullable = false, length = 32)
    private String createTime;

    /**
     * 是否删除 0 不删除 1 删除
     */
    @Column(name = "remove", columnDefinition = "INT default 0", nullable = false)
    private Integer remove;


    /**
     * 商家
     **/
    @Column(name = "store_id")
    private String storeId;


    /**
     * 备注
     **/
    @Column(name = "note",columnDefinition = "TEXT")
    private String note;

    /**
     * 商户名
     */
    @Column(name = "store_name")
    private String storeName;



}
